<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

<?php
include('../resource/menu.php');
?>
<html>
	<head>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		
        <link href="../resource/responsive/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <link href="../resource/responsive/bootstrap-responsive.min.css" rel="stylesheet">
        <script src="../resource/responsive/jquery.min.js"></script>
        <script src="../resource/responsive/bootstrap.min.js"></script>
        <!--    FORMATO DE TABLAS    -->
        <link href="../resource/table/demo_table.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" language="javascript" src="../resource/table/jquery.dataTables.js"></script>
        <!--    FORMATO DE TABLAS    -->

	</head>
<body>
 	<div id="navbar"></div>

<div class="span9">
    <div class="hero-unit">
<?php
include('../resource/config.php'); 
$LOUS = $_GET['LOUS']; 
mysql_query("DELETE FROM `regusu` WHERE `LOUS` = '$LOUS' ") ; 
echo (mysql_affected_rows()) ? "<div class='span4'>
      <div class='alert alert-success'>
        <strong>Eliminado</strong><br><a href='listar.php'>Volver a la lista</a>
      </div>
    </div>" : "<div class='span4'>
      <div class='alert alert-error'>
        <strong>Ops</strong> No se logro eliminar el usuario.<br><a href='listar.php'>Volver a la lista</a>
      </div>
    </div>"; 
		?> 
	</div>
</div>

</body>
</html>
